package com.zqw.info;

import org.springframework.web.bind.annotation.RequestParam;

import java.util.Arrays;
import java.util.List;

public class AdminInfo {

    private Integer aid;
    private String aname;
    private String account;
    private String apass;
    private String aphone;
    private String aemail;
    private Integer astatus;
    private int pageNum = 1;
    private int pageSize=5;
    private String[] roles;

    @Override
    public String toString() {
        return "AdminInfo{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", account='" + account + '\'' +
                ", apass='" + apass + '\'' +
                ", aphone='" + aphone + '\'' +
                ", aemail='" + aemail + '\'' +
                ", astatus=" + astatus +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", roles=" + Arrays.toString(roles) +
                '}';
    }

    public String[] getRoles() {
        return roles;
    }

    public void setRoles(String[] roles) {
        this.roles = roles;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getApass() {
        return apass;
    }

    public void setApass(String apass) {
        this.apass = apass;
    }

    public String getAphone() {
        return aphone;
    }

    public void setAphone(String aphone) {
        this.aphone = aphone;
    }

    public String getAemail() {
        return aemail;
    }

    public void setAemail(String aemail) {
        this.aemail = aemail;
    }

    public Integer getAstatus() {
        return astatus;
    }

    public void setAstatus(Integer astatus) {
        this.astatus = astatus;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

}
